Skip to content

Adds A new test to the guestagent test suite to verify guest agent network setup completes before service ready.#516

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_921700551
Jun 2, 2026
Merged

Adds A new test to the guestagent test suite to verify guest agent network setup completes before service ready.#516
copybara-service[bot] merged 1 commit into
mainfrom
test_921700551

Conversation

@copybara-service

@copybara-service copybara-service Bot commented May 26, 2026

Copy link
Copy Markdown

Adds A new test to the guestagent test suite to verify guest agent network setup completes before service ready.

Introduces TestNetworkSetupCompletesBeforeAgentReady to ensure the guest agent's network management module finishes setup before systemd reports the service as active. This is done by checking for a specific log message in journalctl.

This test is skipped on the legacy agent since it does not log messages around network setup with respect to its readiness.

Refactors the logic for finding the active guest agent service and its ready time into a new helper function getActiveGuestAgent.
Updates TestSSHHostKeyTimingVsAgent to use the new helper function.

@copybara-service copybara-service Bot changed the title Adds A new test to the guestagent test suite to verify guest agent (core_plugin) network setup completes before service ready. Adds A new test to the guestagent test suite to verify guest agent network setup completes before service ready. May 26, 2026
@copybara-service copybara-service Bot force-pushed the test_921700551 branch 3 times, most recently from a3928d0 to ea29b33 Compare June 2, 2026 01:29
…twork setup completes before service ready.

Introduces TestNetworkSetupCompletesBeforeAgentReady to ensure the guest agent's network management module finishes setup before systemd reports the service as active. This is done by checking for a specific log message in journalctl.

This test is skipped on the legacy agent since it does not log messages around network setup with respect to its readiness.

Refactors the logic for finding the active guest agent service and its ready time into a new helper function getActiveGuestAgent.
Updates TestSSHHostKeyTimingVsAgent to use the new helper function.

PiperOrigin-RevId: 925033935
@copybara-service copybara-service Bot merged commit 8ebe3c1 into main Jun 2, 2026
@copybara-service copybara-service Bot deleted the test_921700551 branch June 2, 2026 01:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant